import request from '@/utils/request'

export function fetchAreaList(data) {
  return request({
    url: '/country/list',
    method: 'get',
    params: data
  })
}

export function delAreas(data) {
  return request({
    url: '/country/dels',
    method: 'post',
    data
  })
}

export function saveArea(data) {
  return request({
    url: '/country/save',
    method: 'post',
    data
  })
}
